﻿<!-- Ree7 Tile Toolkit for Windows Phone
     Copyright (C) 2011-2014 Pierre BELIN <pierre@ree7.fr>, and project contributors.

     Distributed under the Microsoft Public License (Ms-PL).
     See accompanying file License.txt -->
    
<UserControl x:Class="Ree7.TileToolkit.TileTemplates.LargeContentAndLogoTileTemplate"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Foreground="White" Height="336" Width="691">
    <UserControl.Resources>
        <Style TargetType="TextBlock" x:Key="TileCountStyle">
            <Setter Property="FontFamily" Value="Segoe WP"/>
            <Setter Property="FontSize" Value="32"/>
            <Setter Property="TextOptions.TextHintingMode" Value="Animated"/>
            <Setter Property="TextWrapping" Value="Wrap"/>
        </Style>
        <Style TargetType="TextBlock" x:Key="TileAppNameStyle">
            <Setter Property="FontFamily" Value="Segoe WP Semibold"/>
            <Setter Property="FontSize" Value="32"/>
            <Setter Property="TextOptions.TextHintingMode" Value="Animated"/>
        </Style>
    </UserControl.Resources>

    <Grid x:Name="LayoutRoot" Height="336" Width="691">
        <Grid VerticalAlignment="Bottom" Margin="12">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            
            <Image x:Name="TileLogo" VerticalAlignment="Center" MaxWidth="100" MaxHeight="100" Margin="0,0,12,0" Visibility="Collapsed" />

            <StackPanel Orientation="Vertical" Grid.Column="1">
                <TextBlock x:Name="TileTitle" Style="{StaticResource TileAppNameStyle}"
                   Text="Hello world"/>
                <TextBlock x:Name="TileSubtitle" Style="{StaticResource TileCountStyle}"
                       Text="Sample text here"/>
            </StackPanel>
        </Grid>
    </Grid>
</UserControl>
